<!DOCTYPE html>
<html>
	<head>
	</head>
	<body>
		<script type="text/javascript" src="/static/js/jquery-1.5.1.min.js"></script>
		<script type="text/javascript">
		params = self.document.location.hash.substring(1);
		$.get('/societies/{{society.slug}}/fb_access_token?' + params, function(data) {
			window.opener.location.reload()
			window.close();
		}).error(function() { alert("Something went wrong!"); });
		</script>
	</body>
</html